import { useContext } from "react";
import ContextTodo from "../../../store/contextTodo"

const ContextChild3=()=>{
    const context=useContext(ContextTodo)
    return(<>
        子组件3:使用hook获取context:
        <p>
            {
                console.log(context.todoList)
            }
            {/* {
                context.title
            } */}
        </p>
    </>)
}

export default ContextChild3